/* 重置默认样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "YouTube Sans", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #0f0f0f;
  background-color: #f9f9f9;
}

a {
  text-decoration: none;
  color: #065fd4;
}

a:hover {
  color: #0b57d0;
  transform: translateY(-1px); /* 轻微上移 */
}

/* 为按钮添加过渡和悬停效果 */
.el-button {
  transition: all 0.2s ease-in-out;
}

.el-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 为可点击元素添加通用悬停效果（可选） */
[role="button"],
[tabindex="0"]:not(input):not(textarea),
.clickable:hover {
  cursor: pointer;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

[role="button"]:hover,
[tabindex="0"]:not(input):not(textarea):hover,
.clickable:hover {
  transform: translateY(-1px);
}

/* 自定义滚动条 */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #c0c0c0;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a0a0a0;
}

/* 加载文本 */
.loading-text {
  color: #065fd4;
  font-size: 16px;
  text-align: center;
  margin: 20px 0;
}